setlocal
set PATH=%PATH%;C:\Program Files (x86)\arduino-0017\
"C:\Program Files (x86)\Java\jre6\bin\javac" -cp "C:\Program Files (x86)\arduino-0017\lib\RXTXcomm.jar" ProvaSeriale.java
"C:\Program Files (x86)\Java\jre6\bin\java" -cp "C:\Program Files (x86)\arduino-0017\lib\RXTXcomm.jar;." ProvaSeriale
echo "waiting"